package xyz.syyrjx.blog.util.identity;

import javax.servlet.http.HttpSession;

/**
 * @author 大地崩坏苍蝇兽
 * @date 2024/2/20 18:10
 * @description ...
 * @since v0.0.1
 */
public class IdentityCheckUtil {
    public static boolean isAdmin(HttpSession session) {
        return session.getAttribute("user") != null;
    }
}
